package com.gitee;

import com.gitee.chessboard.annotation.DictionaryScan;
import com.gitee.chessboard.manager.DictionaryManager;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
@DictionaryScan("com.gitee")
public class DemoApplication {
 
	public static void main(String[] args) {
		ConfigurableApplicationContext run = SpringApplication.run(DemoApplication.class, args);
		DictionaryManager bean = run.getBean(DictionaryManager.class);
		System.out.println(bean);
	}
}